]> dgit.raspbian.org Git - gnome-shell.git/commit
network: deal with recycling of closed active connections
authorOwen W. Taylor <otaylor@fishsoup.net>
Sat, 2 Apr 2011 19:30:45 +0000 (15:30 -0400)
committerDan Winship <danw@gnome.org>
Mon, 11 Apr 2011 14:38:00 +0000 (10:38 -0400)
commit529b6ca9359de2b97b5114a642d61d2ecfc7b5db
tree0b3ef4a5f64513ca2f8a131bd3ae9205eddc849b
parent625a4c0766ab21d0f5897f1537720cb6a60012fe
network: deal with recycling of closed active connections

If you restart NetworkManager, then the list of active connections
is emptied, then comes back with the same GObjects in it. If the
_primaryDevice field isn't cleared on the object, then we won't
know we need to set it back on the device, resulting in the active
device not showing up in the menu.

https://bugzilla.gnome.org/show_bug.cgi?id=646558
js/ui/status/network.js